-
Notifications
You must be signed in to change notification settings - Fork 68
tp/webgl backend #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tp/webgl backend #24
Conversation
|
managed to compile on ubuntu 11.10 but i had to change "std::abs" to "abs" in Tesselator.cpp (line 454 + 3) since g++ (version 4.6.1) complained. if i cd into OCC/Display/WebGl and import webgl_renderer it imports any idea? |
|
Thanks henrik for testing. I will change abs to std:: abs in Tesselator.cpp. For the import issue, may be an empty init.py file is missing from the WebGl directory. Can you check that? |
|
the init.py ls there... |
|
weird. Did u use the cmake builder? |
- wrong normal orientation - bad array indices for both vertices and normals
This branch adds a webgl renderer. Please test that: